<template>
	<view class="behavior_box box">
		<view class="time_box height_44 bc_fff br_8">
			<view class="fz_16 fb fc_333">
				今日
			</view>
			<u-icon name="arrow-right" color="#666666"></u-icon>
		</view>
		<SalesBehavior v-if="userType==1"/>
		<ManageBehavior v-if="userType==2"/>
		
	</view>
</template>

<script>
	import SalesBehavior from "./salesBehavior.vue"
	import ManageBehavior from "./managerBehavior.vue"
	export default {
		components:{
			SalesBehavior,
			ManageBehavior
		},
		data() {
			return {
				userType: 2, // 1.导购员 2.店长 3.经销商 4.普通用户
			}
		}
	}
</script>

<style lang="scss" scoped>
	.behavior_box {
		background: #F6F6F6;
		@include set_padding(12rpx, 16rpx);

		.time_box {
			@include set_padding(0rpx, 16rpx) @include flex_box(row, nowrap, space-between, center);
		}
	}
</style>